/*
 * Copyright 2017 The JA-SIG Collaborative. All rights reserved.
 * distributed with thi file and available online at
 */
package com.lap.scp.admin.core.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.lap.scd.commons.core.exception.ManagerException;
import com.lap.scp.admin.core.LabelManager;
import com.lap.scp.admin.dal.LabelDAO;
import com.lap.scp.admin.domain.LabelDO;

/**
 * <pre>
 *
 * </pre>
 * 
 * @author 劳水生 Exp
 * @Date 2017年9月2日 下午9:15:52
 * @since 1.0
 */
@Service("labelManager")
public class DefaultLabelManager implements LabelManager {

	@Resource
	private LabelDAO labelDAO;

	@Override
	public List<LabelDO> queryRole() throws ManagerException {
		return labelDAO.queryRole();
	}

	@Override
	public List<LabelDO> queryResources() throws ManagerException {
		return labelDAO.queryResources();
	}

	@Override
	public List<LabelDO> queryJob() throws ManagerException {
		return labelDAO.queryJob();
	}

	@Override
	public List<LabelDO> queryDept() throws ManagerException {
		return labelDAO.queryDept();
	}

}
